package com.linsir.lin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linsir.base.BasePOJO;
import lombok.Data;

import java.util.Date;

/**
 * @ProjectName:linsir-lin
 * @Package:com.linsir.lin.pojo
 * @Title: Account
 * @Description: TODO
 * @Create:2021/6/7 20:33 by @author:Linsir
 * @Update:2021/6/7 20:33 by @author:Linsir
 * @UpdateRemark: 初始创建
 * @Version 1.0.0
 */

@Data
@TableName(value = "lin_account")
public class Account extends BasePOJO {

    @TableId(value = "id",type = IdType.AUTO)
    private  Integer id;

    private  String userName;

    private  String password;

    private  String passwordSalt;

    private  boolean disabled;

    private Date expires;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPasswordSalt() {
        return passwordSalt;
    }

    public void setPasswordSalt(String passwordSalt) {
        this.passwordSalt = passwordSalt;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public Date getExpires() {
        return expires;
    }

    public void setExpires(Date expires) {
        this.expires = expires;
    }
}
